import {request} from 'umi';
export let getuser=()=>{
    return request('https://api.blog.wipi.tech/api/auth/login',{
        method:'POST',
        data:{
            username:"jason",
            password:123456
        }
    })
}
export let getBanner=()=>{
    return request('https://api.blog.wipi.tech/api/user',{method:'GET'})
}
export let getdetail=()=>{
    return request('https://api.blog.wipi.tech/api/file')
}
